﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Tanks
{
    class Item_Plasmagun : Item
    {
        public Item_Plasmagun(Cell c)
        {
            C = c;
            Gr = (Bitmap)Bitmap.FromFile("gun3.gif");
        }
        protected override void Pickup(Tank t)
        {
            if (t.AddWeap(new PlasmaGun(t)))
            {
                game.Items.Remove(this);
            }
        }
    }
}
